home *** CD-ROM | disk | FTP | other *** search
/ Programmers Heaven 2 / Programmers Heaven 2.iso / files / windows / ocx / midipk.exe / VU.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-05-10  |  24.4 KB  |  742 lines

  1. VERSION 4.00
  2. Begin VB.Form FormVu 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Indicator Properties Example"
  5.    ClientHeight    =   3960
  6.    ClientLeft      =   1020
  7.    ClientTop       =   1785
  8.    ClientWidth     =   8520
  9.    BeginProperty Font 
  10.       name            =   "MS Sans Serif"
  11.       charset         =   0
  12.       weight          =   700
  13.       size            =   8.25
  14.       underline       =   0   'False
  15.       italic          =   0   'False
  16.       strikethrough   =   0   'False
  17.    EndProperty
  18.    ForeColor       =   &H80000008&
  19.    Height          =   4365
  20.    Left            =   960
  21.    LinkTopic       =   "Form1"
  22.    LockControls    =   -1  'True
  23.    MaxButton       =   0   'False
  24.    ScaleHeight     =   3960
  25.    ScaleWidth      =   8520
  26.    Top             =   1440
  27.    Width           =   8640
  28.    Begin VB.Frame Frame9 
  29.       Caption         =   "Border"
  30.       BeginProperty Font 
  31.          name            =   "MS Sans Serif"
  32.          charset         =   0
  33.          weight          =   700
  34.          size            =   8.25
  35.          underline       =   0   'False
  36.          italic          =   0   'False
  37.          strikethrough   =   0   'False
  38.       EndProperty
  39.       Height          =   615
  40.       Left            =   60
  41.       TabIndex        =   17
  42.       Top             =   60
  43.       Width           =   2355
  44.       Begin VB.OptionButton OptionBorder 
  45.          Caption         =   "Single"
  46.          BeginProperty Font 
  47.             name            =   "MS Sans Serif"
  48.             charset         =   0
  49.             weight          =   400
  50.             size            =   8.25
  51.             underline       =   0   'False
  52.             italic          =   0   'False
  53.             strikethrough   =   0   'False
  54.          EndProperty
  55.          Height          =   225
  56.          Index           =   1
  57.          Left            =   1200
  58.          TabIndex        =   21
  59.          Top             =   270
  60.          Value           =   -1  'True
  61.          Width           =   885
  62.       End
  63.       Begin VB.OptionButton OptionBorder 
  64.          Caption         =   "None"
  65.          BeginProperty Font 
  66.             name            =   "MS Sans Serif"
  67.             charset         =   0
  68.             weight          =   400
  69.             size            =   8.25
  70.             underline       =   0   'False
  71.             italic          =   0   'False
  72.             strikethrough   =   0   'False
  73.          EndProperty
  74.          Height          =   225
  75.          Index           =   0
  76.          Left            =   120
  77.          TabIndex        =   20
  78.          Top             =   270
  79.          Width           =   885
  80.       End
  81.    End
  82.    Begin VB.Frame Frame8 
  83.       Caption         =   "Color"
  84.       BeginProperty Font 
  85.          name            =   "MS Sans Serif"
  86.          charset         =   0
  87.          weight          =   700
  88.          size            =   8.25
  89.          underline       =   0   'False
  90.          italic          =   0   'False
  91.          strikethrough   =   0   'False
  92.       EndProperty
  93.       Height          =   1215
  94.       Left            =   6030
  95.       TabIndex        =   16
  96.       Top             =   2670
  97.       Width           =   2355
  98.       Begin VB.CommandButton CmdBackColor 
  99.          Appearance      =   0  'Flat
  100.          BackColor       =   &H80000005&
  101.          Caption         =   "Back Color"
  102.          BeginProperty Font 
  103.             name            =   "MS Sans Serif"
  104.             charset         =   0
  105.             weight          =   400
  106.             size            =   8.25
  107.             underline       =   0   'False
  108.             italic          =   0   'False
  109.             strikethrough   =   0   'False
  110.          EndProperty
  111.          Height          =   315
  112.          Left            =   120
  113.          TabIndex        =   19
  114.          Top             =   330
  115.          Width           =   2115
  116.       End
  117.       Begin VB.CommandButton CmdItemBackColor 
  118.          Appearance      =   0  'Flat
  119.          BackColor       =   &H80000005&
  120.          Caption         =   "Item Back Color"
  121.          BeginProperty Font 
  122.             name            =   "MS Sans Serif"
  123.             charset         =   0
  124.             weight          =   400
  125.             size            =   8.25
  126.             underline       =   0   'False
  127.             italic          =   0   'False
  128.             strikethrough   =   0   'False
  129.          EndProperty
  130.          Height          =   315
  131.          Left            =   120
  132.          TabIndex        =   18
  133.          Top             =   750
  134.          Width           =   2115
  135.       End
  136.    End
  137.    Begin VB.Frame Frame7 
  138.       Caption         =   "Indicator Value"
  139.       BeginProperty Font 
  140.          name            =   "MS Sans Serif"
  141.          charset         =   0
  142.          weight          =   700
  143.          size            =   8.25
  144.          underline       =   0   'False
  145.          italic          =   0   'False
  146.          strikethrough   =   0   'False
  147.       EndProperty
  148.       Height          =   675
  149.       Left            =   2580
  150.       TabIndex        =   15
  151.       Top             =   3240
  152.       Width           =   3315
  153.       Begin VB.HScrollBar HScrollValue 
  154.          Height          =   255
  155.          Left            =   120
  156.          Max             =   100
  157.          TabIndex        =   32
  158.          Top             =   300
  159.          Value           =   100
  160.          Width           =   3045
  161.       End
  162.    End
  163.    Begin VB.Frame FrameBorderWidth 
  164.       Caption         =   "Border Width"
  165.       BeginProperty Font 
  166.          name            =   "MS Sans Serif"
  167.          charset         =   0
  168.          weight          =   700
  169.          size            =   8.25
  170.          underline       =   0   'False
  171.          italic          =   0   'False
  172.          strikethrough   =   0   'False
  173.       EndProperty
  174.       Height          =   675
  175.       Left            =   60
  176.       TabIndex        =   14
  177.       Top             =   720
  178.       Width           =   2355
  179.       Begin VB.HScrollBar HScrollBorderWidth 
  180.          Height          =   255
  181.          Left            =   120
  182.          Max             =   10
  183.          TabIndex        =   30
  184.          Top             =   300
  185.          Value           =   2
  186.          Width           =   2100
  187.       End
  188.    End
  189.    Begin VB.Frame Frame5 
  190.       Caption         =   "MIDI CoolTools Indicator"
  191.       BeginProperty Font 
  192.          name            =   "MS Sans Serif"
  193.          charset         =   0
  194.          weight          =   700
  195.          size            =   8.25
  196.          underline       =   0   'False
  197.          italic          =   0   'False
  198.          strikethrough   =   0   'False
  199.       EndProperty
  200.       Height          =   3030
  201.       Left            =   2580
  202.       TabIndex        =   13
  203.       Top             =   60
  204.       Width           =   3315
  205.       Begin VindicLib.VIndicator VIndicator1 
  206.          Height          =   2460
  207.          Left            =   1200
  208.          TabIndex        =   33
  209.          Top             =   360
  210.          Width           =   495
  211.          _Version        =   65537
  212.          _ExtentX        =   873
  213.          _ExtentY        =   4339
  214.          _StockProps     =   65
  215.          BackColor       =   16777215
  216.          Border          =   1
  217.          BevelOuter      =   1
  218.          BevelWidth      =   1
  219.          ItemBackColor   =   16777215
  220.          ItemCount1      =   5
  221.          ItemCount2      =   3
  222.          ItemCount3      =   2
  223.          ItemForeColor1  =   65280
  224.          ItemForeColor2  =   65535
  225.          ItemForeColor3  =   255
  226.          BorderWidth     =   2
  227.          BevelInner      =   3
  228.          Value           =   100
  229.          Min             =   0
  230.          Max             =   100
  231.       End
  232.    End
  233.    Begin VB.Frame FrameBevelWidth 
  234.       Caption         =   "Bevel Width"
  235.       BeginProperty Font 
  236.          name            =   "MS Sans Serif"
  237.          charset         =   0
  238.          weight          =   700
  239.          size            =   8.25
  240.          underline       =   0   'False
  241.          italic          =   0   'False
  242.          strikethrough   =   0   'False
  243.       EndProperty
  244.       Height          =   675
  245.       Left            =   6030
  246.       TabIndex        =   12
  247.       Top             =   1890
  248.       Width           =   2355
  249.       Begin VB.HScrollBar HScrollBevelWidth 
  250.          Height          =   255
  251.          Left            =   120
  252.          Max             =   10
  253.          TabIndex        =   31
  254.          Top             =   300
  255.          Width           =   2055
  256.       End
  257.    End
  258.    Begin VB.Frame FrameBevelOuter 
  259.       Caption         =   "Bevel Outer"
  260.       BeginProperty Font 
  261.          name            =   "MS Sans Serif"
  262.          charset         =   0
  263.          weight          =   700
  264.          size            =   8.25
  265.          underline       =   0   'False
  266.          italic          =   0   'False
  267.          strikethrough   =   0   'False
  268.       EndProperty
  269.       Height          =   855
  270.       Left            =   6030
  271.       TabIndex        =   11
  272.       Top             =   990
  273.       Width           =   2355
  274.       Begin VB.OptionButton OptionBevelOuter 
  275.          Caption         =   "Lowered"
  276.          BeginProperty Font 
  277.             name            =   "MS Sans Serif"
  278.             charset         =   0
  279.             weight          =   400
  280.             size            =   8.25
  281.             underline       =   0   'False
  282.             italic          =   0   'False
  283.             strikethrough   =   0   'False
  284.          EndProperty
  285.          Height          =   255
  286.          Index           =   3
  287.          Left            =   1320
  288.          TabIndex        =   29
  289.          Top             =   540
  290.          Width           =   945
  291.       End
  292.       Begin VB.OptionButton OptionBevelOuter 
  293.          Caption         =   "Inset"
  294.          BeginProperty Font 
  295.             name            =   "MS Sans Serif"
  296.             charset         =   0
  297.             weight          =   400
  298.             size            =   8.25
  299.             underline       =   0   'False
  300.             italic          =   0   'False
  301.             strikethrough   =   0   'False
  302.          EndProperty
  303.          Height          =   255
  304.          Index           =   2
  305.          Left            =   120
  306.          TabIndex        =   28
  307.          Top             =   540
  308.          Width           =   945
  309.       End
  310.       Begin VB.OptionButton OptionBevelOuter 
  311.          Caption         =   "Raised"
  312.          BeginProperty Font 
  313.             name            =   "MS Sans Serif"
  314.             charset         =   0
  315.             weight          =   400
  316.             size            =   8.25
  317.             underline       =   0   'False
  318.             italic          =   0   'False
  319.             strikethrough   =   0   'False
  320.          EndProperty
  321.          Height          =   255
  322.          Index           =   1
  323.          Left            =   1320
  324.          TabIndex        =   27
  325.          Top             =   300
  326.          Value           =   -1  'True
  327.          Width           =   945
  328.       End
  329.       Begin VB.OptionButton OptionBevelOuter 
  330.          Caption         =   "None"
  331.          BeginProperty Font 
  332.             name            =   "MS Sans Serif"
  333.             charset         =   0
  334.             weight          =   400
  335.             size            =   8.25
  336.             underline       =   0   'False
  337.             italic          =   0   'False
  338.             strikethrough   =   0   'False
  339.          EndProperty
  340.          Height          =   255
  341.          Index           =   0
  342.          Left            =   120
  343.          TabIndex        =   26
  344.          Top             =   300
  345.          Width           =   945
  346.       End
  347.    End
  348.    Begin VB.Frame FrameBevelInner 
  349.       Caption         =   "Bevel Inner"
  350.       BeginProperty Font 
  351.          name            =   "MS Sans Serif"
  352.          charset         =   0
  353.          weight          =   700
  354.          size            =   8.25
  355.          underline       =   0   'False
  356.          italic          =   0   'False
  357.          strikethrough   =   0   'False
  358.       EndProperty
  359.       Height          =   855
  360.       Left            =   6030
  361.       TabIndex        =   10
  362.       Top             =   90
  363.       Width           =   2355
  364.       Begin VB.OptionButton OptionBevelInner 
  365.          Caption         =   "Lowered"
  366.          BeginProperty Font 
  367.             name            =   "MS Sans Serif"
  368.             charset         =   0
  369.             weight          =   400
  370.             size            =   8.25
  371.             underline       =   0   'False
  372.             italic          =   0   'False
  373.             strikethrough   =   0   'False
  374.          EndProperty
  375.          Height          =   255
  376.          Index           =   3
  377.          Left            =   1320
  378.          TabIndex        =   25
  379.          Top             =   540
  380.          Width           =   945
  381.       End
  382.       Begin VB.OptionButton OptionBevelInner 
  383.          Caption         =   "Inset"
  384.          BeginProperty Font 
  385.             name            =   "MS Sans Serif"
  386.             charset         =   0
  387.             weight          =   400
  388.             size            =   8.25
  389.             underline       =   0   'False
  390.             italic          =   0   'False
  391.             strikethrough   =   0   'False
  392.          EndProperty
  393.          Height          =   255
  394.          Index           =   2
  395.          Left            =   120
  396.          TabIndex        =   24
  397.          Top             =   540
  398.          Width           =   945
  399.       End
  400.       Begin VB.OptionButton OptionBevelInner 
  401.          Caption         =   "Raised"
  402.          BeginProperty Font 
  403.             name            =   "MS Sans Serif"
  404.             charset         =   0
  405.             weight          =   400
  406.             size            =   8.25
  407.             underline       =   0   'False
  408.             italic          =   0   'False
  409.             strikethrough   =   0   'False
  410.          EndProperty
  411.          Height          =   255
  412.          Index           =   1
  413.          Left            =   1320
  414.          TabIndex        =   23
  415.          Top             =   300
  416.          Width           =   945
  417.       End
  418.       Begin VB.OptionButton OptionBevelInner 
  419.          Caption         =   "None"
  420.          BeginProperty Font 
  421.             name            =   "MS Sans Serif"
  422.             charset         =   0
  423.             weight          =   400
  424.             size            =   8.25
  425.             underline       =   0   'False
  426.             italic          =   0   'False
  427.             strikethrough   =   0   'False
  428.          EndProperty
  429.          Height          =   255
  430.          Index           =   0
  431.          Left            =   120
  432.          TabIndex        =   22
  433.          Top             =   300
  434.          Value           =   -1  'True
  435.          Width           =   945
  436.       End
  437.    End
  438.    Begin VB.Frame Frame1 
  439.       Caption         =   "Item Segments"
  440.       BeginProperty Font 
  441.          name            =   "MS Sans Serif"
  442.          charset         =   0
  443.          weight          =   700
  444.          size            =   8.25
  445.          underline       =   0   'False
  446.          italic          =   0   'False
  447.          strikethrough   =   0   'False
  448.       EndProperty
  449.       Height          =   2475
  450.       Left            =   60
  451.       TabIndex        =   0
  452.       Top             =   1440
  453.       Width           =   2355
  454.       Begin VB.CommandButton CmdItemColor2 
  455.          Appearance      =   0  'Flat
  456.          BackColor       =   &H80000005&
  457.          Caption         =   "Item Color 2"
  458.          BeginProperty Font 
  459.             name            =   "MS Sans Serif"
  460.             charset         =   0
  461.             weight          =   400
  462.             size            =   8.25
  463.             underline       =   0   'False
  464.             italic          =   0   'False
  465.             strikethrough   =   0   'False
  466.          EndProperty
  467.          Height          =   315
  468.          Left            =   120
  469.          TabIndex        =   6
  470.          Top             =   1050
  471.          Width           =   2115
  472.       End
  473.       Begin VB.CommandButton CmdItemColor1 
  474.          Appearance      =   0  'Flat
  475.          BackColor       =   &H80000005&
  476.          Caption         =   "Item Color 1"
  477.          BeginProperty Font 
  478.             name            =   "MS Sans Serif"
  479.             charset         =   0
  480.             weight          =   400
  481.             size            =   8.25
  482.             underline       =   0   'False
  483.             italic          =   0   'False
  484.             strikethrough   =   0   'False
  485.          EndProperty
  486.          Height          =   315
  487.          Left            =   120
  488.          TabIndex        =   5
  489.          Top             =   270
  490.          Width           =   2115
  491.       End
  492.       Begin VB.CommandButton CmdItemColor3 
  493.          Appearance      =   0  'Flat
  494.          BackColor       =   &H80000005&
  495.          Caption         =   "Item Color 3"
  496.          BeginProperty Font 
  497.             name            =   "MS Sans Serif"
  498.             charset         =   0
  499.             weight          =   400
  500.             size            =   8.25
  501.             underline       =   0   'False
  502.             italic          =   0   'False
  503.             strikethrough   =   0   'False
  504.          EndProperty
  505.          Height          =   315
  506.          Left            =   120
  507.          TabIndex        =   4
  508.          Top             =   1770
  509.          Width           =   2115
  510.       End
  511.       Begin VB.HScrollBar HScrollItemCount1 
  512.          Height          =   255
  513.          Left            =   1020
  514.          Max             =   10
  515.          TabIndex        =   3
  516.          Top             =   630
  517.          Value           =   5
  518.          Width           =   1215
  519.       End
  520.       Begin VB.HScrollBar HScrollItemCount2 
  521.          Height          =   255
  522.          Left            =   1020
  523.          Max             =   10
  524.          TabIndex        =   2
  525.          Top             =   1410
  526.          Value           =   3
  527.          Width           =   1215
  528.       End
  529.       Begin VB.HScrollBar HScrollItemCount3 
  530.          Height          =   255
  531.          Left            =   1020
  532.          Max             =   10
  533.          TabIndex        =   1
  534.          Top             =   2130
  535.          Value           =   2
  536.          Width           =   1215
  537.       End
  538.       Begin VB.Label Label1 
  539.          Caption         =   "Segment 1"
  540.          BeginProperty Font 
  541.             name            =   "MS Sans Serif"
  542.             charset         =   0
  543.             weight          =   400
  544.             size            =   8.25
  545.             underline       =   0   'False
  546.             italic          =   0   'False
  547.             strikethrough   =   0   'False
  548.          EndProperty
  549.          Height          =   255
  550.          Left            =   120
  551.          TabIndex        =   9
  552.          Top             =   630
  553.          Width           =   795
  554.       End
  555.       Begin VB.Label Label2 
  556.          Caption         =   "Segment 2"
  557.          BeginProperty Font 
  558.             name            =   "MS Sans Serif"
  559.             charset         =   0
  560.             weight          =   400
  561.             size            =   8.25
  562.             underline       =   0   'False
  563.             italic          =   0   'False
  564.             strikethrough   =   0   'False
  565.          EndProperty
  566.          Height          =   255
  567.          Left            =   120
  568.          TabIndex        =   8
  569.          Top             =   1410
  570.          Width           =   795
  571.       End
  572.       Begin VB.Label Label3 
  573.          Caption         =   "Segment 3"
  574.          BeginProperty Font 
  575.             name            =   "MS Sans Serif"
  576.             charset         =   0
  577.             weight          =   400
  578.             size            =   8.25
  579.             underline       =   0   'False
  580.             italic          =   0   'False
  581.             strikethrough   =   0   'False
  582.          EndProperty
  583.          Height          =   255
  584.          Left            =   120
  585.          TabIndex        =   7
  586.          Top             =   2130
  587.          Width           =   795
  588.       End
  589.    End
  590.    Begin MSComDlg.CommonDialog CMDialog1 
  591.       Left            =   0
  592.       Top             =   4080
  593.       _Version        =   65536
  594.       _ExtentX        =   847
  595.       _ExtentY        =   847
  596.       _StockProps     =   0
  597.    End
  598. Attribute VB_Name = "FormVu"
  599. Attribute VB_Creatable = False
  600. Attribute VB_Exposed = False
  601. Const DLG_COLOR = 3
  602. 'Color Dialog Flags
  603. Const CC_RGBINIT = &H1&
  604. Const CC_FULLOPEN = &H2&
  605. Const CC_PREVENTFULLOPEN = &H4&
  606. Const CC_SHOWHELP = &H8&
  607. Private Sub CmdBackColor_Click()
  608.     '
  609.     ' Load the control with the Indicator BackColor
  610.     '
  611.     CMDialog1.Color = VIndicator1.BackColor
  612.     '
  613.     ' Execute the color select dialog
  614.     '
  615.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  616.     CMDialog1.Action = DLG_COLOR
  617.     '
  618.     ' Assign the selected color to VIndicator1 Backcolor properties
  619.     '
  620.     VIndicator1.BackColor = CMDialog1.Color
  621. End Sub
  622. Private Sub CmdItemBackColor_Click()
  623.     '
  624.     ' Load the control with the Indicator ItemBackColor
  625.     '
  626.     CMDialog1.Color = VIndicator1.ItemBackColor
  627.     '
  628.     ' Execute the color select dialog
  629.     '
  630.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  631.     CMDialog1.Action = DLG_COLOR
  632.     '
  633.     ' Assign the selected color to VIndicator1 ItemBackcolor properties
  634.     '
  635.     VIndicator1.ItemBackColor = CMDialog1.Color
  636. End Sub
  637. Private Sub CmdItemColor1_Click()
  638.     '
  639.     ' Load the control with the Indicator ItemForeColor1
  640.     '
  641.     CMDialog1.Color = VIndicator1.ItemForeColor1
  642.     '
  643.     ' Execute the color select dialog
  644.     '
  645.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  646.     CMDialog1.Action = DLG_COLOR
  647.     '
  648.     ' Assign the selected color to VIndicator1 ItemForeColor1  properties
  649.     '
  650.     VIndicator1.ItemForeColor1 = CMDialog1.Color
  651. End Sub
  652. Private Sub CmdItemColor2_Click()
  653.     '
  654.     ' Load the control with the Indicator ItemForeColor2
  655.     '
  656.     CMDialog1.Color = VIndicator1.ItemForeColor2
  657.     '
  658.     ' Execute the color select dialog
  659.     '
  660.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  661.     CMDialog1.Action = DLG_COLOR
  662.     '
  663.     ' Assign the selected color to VIndicator1 ItemForeColor2  properties
  664.     '
  665.     VIndicator1.ItemForeColor2 = CMDialog1.Color
  666. End Sub
  667. Private Sub CmdItemColor3_Click()
  668.     '
  669.     ' Load the control with the Indicator ItemForeColor3
  670.     '
  671.     CMDialog1.Color = VIndicator1.ItemForeColor3
  672.     '
  673.     ' Execute the color select dialog
  674.     '
  675.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  676.     CMDialog1.Action = DLG_COLOR
  677.     '
  678.     ' Assign the selected color to VIndicator1 ItemForeColor3  properties
  679.     '
  680.     VIndicator1.ItemForeColor3 = CMDialog1.Color
  681. End Sub
  682. Private Sub Form_Load()
  683.     ' Center the form on the screen
  684.     Move (Screen.Width - Width) \ 2, (Screen.Height - Height) \ 2
  685. End Sub
  686. Private Sub HScrollBevelWidth_Change()
  687.     VIndicator1.BevelWidth = HScrollBevelWidth.Value
  688. End Sub
  689. Private Sub HScrollBevelWidth_Scroll()
  690.     VIndicator1.BevelWidth = HScrollBevelWidth.Value
  691. End Sub
  692. Private Sub HScrollBorderWidth_Change()
  693.     VIndicator1.BorderWidth = HScrollBorderWidth.Value
  694. End Sub
  695. Private Sub HScrollBorderWidth_Scroll()
  696.     VIndicator1.BorderWidth = HScrollBorderWidth.Value
  697. End Sub
  698. Private Sub HScrollItemCount1_Change()
  699.     VIndicator1.ItemCount1 = HScrollItemCount1.Value
  700. End Sub
  701. Private Sub HScrollItemCount1_Scroll()
  702.     VIndicator1.ItemCount1 = HScrollItemCount1.Value
  703. End Sub
  704. Private Sub HScrollItemCount2_Change()
  705.     VIndicator1.ItemCount2 = HScrollItemCount2.Value
  706. End Sub
  707. Private Sub HScrollItemCount2_Scroll()
  708.     VIndicator1.ItemCount2 = HScrollItemCount2.Value
  709. End Sub
  710. Private Sub HScrollItemCount3_Change()
  711.     VIndicator1.ItemCount3 = HScrollItemCount3.Value
  712. End Sub
  713. Private Sub HScrollItemCount3_Scroll()
  714.     VIndicator1.ItemCount3 = HScrollItemCount3.Value
  715. End Sub
  716. Private Sub HScrollValue_Change()
  717.     VIndicator1.Value = HScrollValue.Value
  718. End Sub
  719. Private Sub HScrollValue_Scroll()
  720.     VIndicator1.Value = HScrollValue.Value
  721. End Sub
  722. Private Sub OptionBevelInner_Click(index As Integer)
  723.     VIndicator1.BevelInner = index
  724. End Sub
  725. Private Sub OptionBevelOuter_Click(index As Integer)
  726.     VIndicator1.BevelOuter = index
  727. End Sub
  728. Private Sub OptionBorder_Click(index As Integer)
  729.     VIndicator1.Border = index
  730.     If index = 0 Then
  731.         FrameBevelWidth.Enabled = False
  732.         FrameBorderWidth.Enabled = False
  733.         FrameBevelInner.Enabled = False
  734.         FrameBevelOuter.Enabled = False
  735.     Else
  736.         FrameBevelWidth.Enabled = True
  737.         FrameBorderWidth.Enabled = True
  738.         FrameBevelInner.Enabled = True
  739.         FrameBevelOuter.Enabled = True
  740.     End If
  741. End Sub
  742.